home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1996 #14
/
Monster Media No. 14 (April 1996) (Monster Media, Inc.).ISO
/
lan
/
lantqemm.zip
/
LANTASTI.TEC
Wrap
Text File
|
1996-01-24
|
13KB
|
340 lines
ID:QL Loading LANtastic 6.0's REDIR.EXE and SERVER.EXE high
Quarterdeck Technical Note #285 Filename: LANTASTI.TEC
by Raymond Jackson CompuServe: LANTAS.TEC
Last revised: 09/21/94 Category: QEMM
Subject: Loading LANtastic 6.0's REDIR.EXE and SERVER.EXE high.
OVERVIEW
--------
After running Optimize with LANtastic version 6.0, you may have noticed
that LANtastic's REDIR.EXE and SERVER.EXE were not loaded high. You may
have also received the error, "ERROR: not enough memory to load program."
If these drivers failed to load high, it's possible that they failed to
load at all. This document explains why this problem occurs and offers a
simple solution for resolving it.
Q. Why did these drivers fail to load high?
A. LANtastic 6.0's REDIR.EXE and SERVER.EXE are modular drivers.
Artisoft's modular drivers are designed to load only code that's
called upon. For example, if printing capabilities are not needed,
then the code for that function will not be loaded. This design
prevents the driver from becoming larger than necessary, which saves
you memory.
In order to load, modular drivers use a special function termed
DOSLOAD. DOSLOAD is a loader program that requires a lot of High RAM
to initialize. DOSLOAD loads itself into High RAM in order to give
REDIR.EXE and SERVER.EXE more room to initialize within conventional
memory. After initialization, DOSLOAD terminates and will no longer
be resident.
QEMM's LOADHI.COM excludes all of conventional memory in order to
force a driver into High RAM. Therefore, REDIR.EXE and SERVER.EXE
might have a difficult time executing if there is not ample available
High RAM. This will result in the following error message:
ERROR: not enough memory to load program
Q. How do I solve this problem?
A. Follow these steps:
1. If Stealth has not already been enabled by Optimize, run OPTIMIZE
/ST now. This will Optimize your system and check for
compatibility with Stealth. Stealth will increase your available
High RAM, which will allow these drivers to load high more easily.
If you encounter a problem with Stealth, refer to Quarterdeck
Technical Note #205, "Troubleshooting Stealth ROM" (STEALTH.TEC)
and #168, "QEMM's Stealth ROM Technology" (STLTECH.TEC). If you
are using QEMM version 7.0 or later, these technotes are in your
\QEMM\TECHNOTE directory. Because there are no known problems
between QEMM's Stealth feature and LANtastic, we expect that you
will find a solution in these technotes.
2. Remove the LOADHI region parameters (e.g., /R:2) from REDIR.EXE and
SERVER.EXE. By default, these drivers can be found in the
STARTNET.BAT file, which is located in the \LANTASTI directory.
To edit the STARTNET.BAT file, type the following:
CD\LANTASTI <Enter>
EDIT STARTNET.BAT <Enter>
You should see something similar to the following:
C:\QEMM\LOADHI /R:2 REDIR HOST @STARTNET.CFG
C:\QEMM\LOADHI /R:1 SERVER C:\LANTASTI.NET @STARTNET.CFG
You can now remove the region parameters. It's possible that
Optimize did not add the LOADHI parameters to these lines. If that
is the case, add them now. After making the appropriate changes,
you should have something similar to the following:
C:\QEMM\LOADHI REDIR HOST @STARTNET.CFG
C:\QEMM\LOADHI SERVER C:\LANTASTI.NET @STARTNET.CFG
NOTE: The above lines are only an example. If you do not have the
name "HOST" on your REDIR line, do not add it. Leave the name
as it currently is (i.e., SERVER, HOST1, etc.).
If you see the /NO_UMB switch on the SERVER line, remove it.
That parameter is not necessary.
3. Load STARTNET.BAT before your disk cache or any other large TSRs.
This will help to ensure that REDIR.EXE and SERVER.EXE have
sufficient room to load high.
To edit the AUTOEXEC.BAT file, type the following:
CD\ <Enter>
EDIT AUTOEXEC.BAT <Enter>
For example, in the following AUTOEXEC.BAT, STARTNET.BAT is loaded
after the disk cache.
PATH=C:\DOS;C:\QEMM;C:\LANTASTI
C:\QEMM\LOADHI /R:3 C:\DOS\SMARTDRV.EXE /X
CALL C:\LANTASTI\STARTNET.BAT
After making the appropriate changes, you should have the
following:
PATH=C:\DOS;C:\QEMM;C:\LANTASTI
CALL C:\LANTASTI\STARTNET.BAT
C:\QEMM\LOADHI /R:3 C:\DOS\SMARTDRV.EXE /X
NOTE: If you are using a disk cache, you might consider
Microsoft's SMARTDrive. Because SMARTDrive uses only 26k of High
RAM, there is a better chance of loading it high with REDIR.EXE
and SERVER.EXE.
4. In your \QEMM directory, create an OPTIMIZE.EXC file. In that
file, add SERVER and REDIR. That will prevent Optimize from
trying to load those drivers high, which would undo the changes
you have already made.
To create an OPTIMIZE.EXC file, type the following:
CD\QEMM <Enter>
EDIT OPTIMIZE.EXC <Enter>
Now add the following lines to this file:
REDIR
SERVER
Save that file and reboot your machine.
5. After rebooting, REDIR.EXE and SERVER.EXE should load high. With
Manifest, we can verify that they did.
To load Manifest, type the following:
CD\QEMM <Enter>
MFT <Enter>
To see which drivers are loading high, press "F" and then "R" to
reach the Manifest "First Meg Programs" screen. All of the
drivers listed above the "Conventional memory ends at 640k" line
are loading into conventional memory (0000-9FFF). All of the
drivers listed below that line are loading into High RAM
(A000-FFFF). If REDIR and SERVER are listed below that line, they
loaded high successfully.
Q. What if I'm using a multiple configuration?
A. The same instructions apply to multiple configurations. You will need
to remove the LOADHI region parameters (i.e., /R:2) from REDIR.EXE and
SERVER.EXE. However, instead of editing your STARTNET.BAT file, you
will modify the LOADHI.RF file. LOADHI.RF can be found in your \QEMM
directory.
Note: LOADHI.RF is the default name of the QEMM response file. It is
possible to indicate a different response filename by using something
similar to the following: SET LOADHIDATA=C:\QEMM\MULTICON.RF. In
this example, you would edit MULTICON.RF rather than LOADHI.RF.
1. To edit the LOADHI.RF file, type the following:
CD\QEMM <Enter>
EDIT LOADHI.RF <Enter>
You should see something similar to the following:
SERVER /R:0
REDIR /R:1
After removing the region numbers, you should have the following:
SERVER
REDIR
After making those changes, save that file. Do not add the QEMM
LOADHI commands to the LOADHI.RF file. If REDIR and SERVER are not
listed in this file, then Optimize did not add the LOADHI commands
to your STARTNET.BAT file. In that case, add SERVER and REDIR to
the LOADHI.RF file now. Add them just as they appear in the above
example, without the region parameters.
2. If Optimize did not add the LOADHI command to your STARTNET.BAT
file, you should do so now. To edit the STARTNET.BAT file, type
the following:
CD\LANTASTI <Enter>
EDIT STARTNET.BAT <Enter>
You should now see something similar to the following:
REDIR HOST @STARTNET.CFG
SERVER C:\LANTASTI.NET @STARTNET.CFG
You can now add the QEMM LOADHI commands. After making those
changes, you should have something similar to the following:
C:\QEMM\LOADHI /RF REDIR HOST @STARTNET.CFG
C:\QEMM\LOADHI /RF SERVER C:\LANTASTI.NET @STARTNET.CFG
After making those changes, save that file.
3. Load STARTNET.BAT first in your AUTOEXEC.BAT file. Please refer to
step 3 of the section titled "How do I solve this problem?"
4. In your \QEMM directory, create an OPTIMIZE.EXC file. In that
file, add SERVER and REDIR. That will prevent Optimize from
trying to load those drivers high, which would undo the changes
you have already made. Please refer to Step 4 of the section
titled "How do I solve this problem?" After you have created that
file, reboot your machine.
5. After rebooting, REDIR.EXE and SERVER.EXE should load high. With
Manifest, we can verify that they did. Please refer to step 5 of
the section titled "How do I solve this problem?"
Q. What happens if I need to load another driver?
A. When you add additional TSRs to your AUTOEXEC.BAT, try to load them
after the STARTNET.BAT line. Before you rerun Optimize, make sure that
REDIR and SERVER are in the OPTIMIZE.EXC file. Please refer to Step
4 of the section titled "How do I solve this problem?"
After running Optimize, it will be necessary to reedit the
STARTNET.BAT file and add the QEMM LOADHI parameters. Please refer
to Step 2 of the section titled "How do I solve this problem?"
Q. What should I do if that solution failed?
A. If, after following the above suggestions, REDIR.EXE and SERVER.EXE
are still loading low, there probably wasn't enough High RAM
available to those drivers high. Try the following suggestions:
1. Verify that Stealth has been enabled. At the DOS prompt, type the
following:
QEMM <Enter>
If a "Stealth Type" is indicated (either "M" or "F"), then Stealth
is enabled.
If a Stealth type is not indicated, run OPTIMIZE /ST now.
2. REDIR.EXE and SERVER.EXE are modular in design. You can reduce
the size of these drivers by disabling features that are not being
used. Refer to your LANtastic manual for more information.
3. If you are loading any device drivers or TSRs in your CONFIG.SYS or
AUTOEXEC.BAT that aren't necessary, remark them out. For more
suggestions, refer to Quarterdeck Technical Note #138, "LOADHI:
Recent Versions" (LOADHI.TEC) and #244, "QEMM-386: Getting Large
Contiguous Regions of High RAM" (LARGCONT.TEC).
4. Substituting a driver with an older version might help. The older
drivers are usually smaller in size. For example, if you are using
Microsoft's version 9.0 mouse driver, which is very large in size,
you might consider switching back to the previous smaller version.
5. Loading something else low may result in more conventional memory.
For example, SERVER.EXE might be 64K in size. If you are loading
another TSR that is only 25K in size, loading that driver low might
allow SERVER.EXE to load high. To load the other TSR low, remove
the LOADHI statement (i.e, C:\QEMM\LOADHI /R:2) from that driver.
In this example, the compromise will yield a 25K reduction in
conventional instead of a 64K reduction.
6. In some cases, using DOS's LH command with DOS=UMB may allow
REDIR.EXE, SERVER.EXE, and LANCACHE.EXE (the LANtastic disk cache
utility) to load high more easily. If the previous suggestions
didn't help, we suggest trying this. To do this, follow these
steps:
To edit the CONFIG.SYS file, type the following:
CD\ <Enter>
EDIT CONFIG.SYS <Enter>
Add the following line to this file:
DOS=HIGH,UMB
Save that file. Now edit the STARTNET.BAT by typing the
following:
CD\LANTASTI <Enter>
EDIT STARTNET.BAT <Enter>
Add the DOS LH commands to the REDIR.EXE, SERVER.EXE and
LANCACHE.EXE (if you are using it). After making the appropriate
changes, you should have something similar to the following:
LH LANCACHE.EXE
LH REDIR HOST @STARTNET.CFG
LH SERVER C:\LANTASTI.NET @STARTNET.CFG
Save those changes and reboot the machine.
Q. I have tried all of the suggestions in this document, and those
drivers still fail to load high. What should I do now?
A. For further assistance with this problem, please contact Quarterdeck
technical support.
Our technical support department is easily reached via electronic
channels such as CompuServe (GO QUARTERDECK), Internet (mail
SUPPORT@QDECK.COM or the comp.os.msdos.desqview Usenet newsgroup), the
Quarterdeck BBS (310-314-3227), or fax (310-314-3217). When
contacting Quarterdeck, be sure to fully explain the symptoms of the
conflict and the results of the tests performed while following this
technical note.
You can also call our Technical Support line at 310-392-9701 for
further assistance. When you call, please be at the machine that is
experiencing the conflict.
************************************************************************
*This technical note may be copied and distributed freely as long as it*
*is distributed in its entirety and it is not distributed for profit. *
* Copyright (C) 1994 by Quarterdeck Corporation *
************************ E N D O F F I L E *************************